package org.transaction.test.global_transaction.mybatis.service;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.sql.SQLException;

public interface TransactionAndThread {
	

	void truncated();

	// REQUIRED
	void transaction_exception_required_thread();

	void transaction_exception_required_thread_02() throws SQLException;

	void transaction_exception_required_thread_03() throws SQLException;

	@Transactional(propagation = Propagation.REQUIRED)
	void transaction_exception_required_thread_try_catch();

	@Transactional(propagation = Propagation.REQUIRED)
	void transaction_exception_required_thread_try_catch_02();

}